<?php $this->load->view("common/page_header");?>
	<?php $this->load->view("common/top_banner");?>
	<?php $this->load->view("common/header");?>
	
	<div id="body_main">
		<div class="search_top">
			<?php $this->load->view("common/top_login_button");?>
			<div class="title"><span class="orange"><?php echo $group['title'];?></span>&nbsp;&nbsp;&nbsp;&nbsp;发表新帖</div>
			<div class="clear"></div>
		</div>
		<div class="top_border margin_top15">
			<div class="arrow_up" style="left:50px"></div>
		</div>
		
		<div id="body_content" class="forum_view" style="padding-top:25px;">
			<form method="post" action="">
				<div class="form_row">
					<label class="input_label"><span class="red">*</span> 标题：</label>
					<input type="text" class="input_text" name="title" />
				</div>
				<div class="form_row">
					<label class="input_label"><span class="red">*</span> 内容：</label>
					<textarea class="input_textarea" name="content"></textarea>
				</div>
				<div class="form_action">
					<input type="submit" class="input_button" value="提交" />
					<input type="hidden" name="group_id" value="<?php echo $group['id'];?>">
					<input type="hidden" name="thread_id" value="<?php echo !empty($thread_id) ? $thread_id : '';?>">
				</div>
				
			</form>
			
			<div class="clear"></div>
		</div>
		
		<?php $this->load->view("common/footer");?>		
		
		<p class="center">Page rendered in {elapsed_time} seconds</p>
	</div>
<script type="text/javascript">
$('#admin_select').click(function(event){
	$(this).parent().find('ul').toggle();
	event.stopPropagation();
});
$(document).click(function(){
	$('.forum_admin').find('ul').hide();
});
$(document).ready(function(){
	$("#register_button").colorbox({iframe:true, innerWidth:556, innerHeight:320, close:'关闭'});
	$("#login_button").colorbox({iframe:true, innerWidth:390, innerHeight:180, close:'关闭'});
});	
</script>
<?php $this->load->view("common/page_footer");?>
